package com.pioneer.web.archive.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.pioneer.common.core.domain.BaseEntity;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * ArcStore
 *
 * @author hlm
 * @date 2025-03-19 15:45:51
 */
@EqualsAndHashCode(callSuper = true)
@TableName(value = "arc_store")
@Data
public class ArcStore extends BaseEntity {

    /**
     * 仓库ID
     */
    @TableId(type = IdType.AUTO)
    private Long storeId;

    /**
     * 仓库编码
     */
    @NotBlank(message = "仓库编码不能为空")
    @TableField(condition = SqlCondition.LIKE)
    private String storeCode;

    /**
     * 仓库名称
     */
    @NotBlank(message = "仓库名称不能为空")
    @TableField(condition = SqlCondition.LIKE)
    private String storeName;

    /**
     * 负责人
     */
    private String keeper;

    /**
     * 电话
     */
    private String phone;

    /**
     * 仓库地址
     */
    private String address;
}
